import pandas as pd
data = {'Name': ['John', 'Anna', 'Peter', 'Linda'],
        'Age': [28, 24, 35, 30],
        'City': ['New York', 'Paris', 'London', 'Berlin']}
df = pd.DataFrame(data)
# 输出：
#     Name  Age      City
# 0  John   28  New York
# 1  Anna   24     Paris
# 2 Peter   35    London
# 3 Linda   30   Berlin